package com.rdc.qingkou.retrofitService;


import com.rdc.qingkou.dto.CardDTO;
import com.rdc.qingkou.dto.UserStatusNumDTO;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.Response;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface IPersonalHomepageService {

    @GET("?")
    Observable<Response<UserStatusNumDTO>> getUserStatusNum(@Query("userId") int userId);

    @GET("?")
    Observable<Response<List<CardDTO>>> getCards(@Query("userId") int userId, @Query("currentPage") int currentPage);
}
